﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Import.aspx.cs" Inherits="JKF.Web.Customer.Import" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        &nbsp;&nbsp;
        <br />
        <br />
        <a href="../人员导入模板.xls"><b>下载顾客导入模板</b></a><span style=" color:Red">注:务必从这下载顾客信息导入模板，在模板上整理要导入的数据，否则数据格式与系统接口不一致可能无法导入</span><br />
        <br />
        &nbsp;&nbsp;
        <asp:FileUpload ID="file" runat="server"  /><span style=" color:Red">注：点“浏览”选择要导入的excel文件,然后点"导入数据"按钮导入顾客资料。</span><br />
            &nbsp;&nbsp; <asp:Button ID="btnImport" runat="server" Text="导入数据" 
                onclick="btnImport_Click"  />
        <br />
            <asp:GridView ID="GridView1" runat="server">
               <Columns>
                   <asp:BoundField DataField="顾客卡号" HeaderText="顾客卡号"></asp:BoundField>
                   <asp:BoundField DataField="顾客级别" HeaderText="顾客级别"></asp:BoundField>
                   <asp:BoundField DataField="姓名" HeaderText="姓名"></asp:BoundField>
                   <asp:BoundField DataField="手机号码" HeaderText="手机号码"></asp:BoundField>
                   <asp:BoundField DataField="身份证" HeaderText="身份证"></asp:BoundField>
                   <asp:BoundField DataField="性别" HeaderText="性别"></asp:BoundField>
                   <asp:BoundField DataField="生日" HeaderText="生日"></asp:BoundField>
                   <asp:BoundField DataField="地址" HeaderText="地址"></asp:BoundField>
                   <asp:BoundField DataField="邮编" HeaderText="邮编"></asp:BoundField>
                   <asp:BoundField DataField="电子邮件" HeaderText="电子邮件"></asp:BoundField>
                   <asp:BoundField DataField="固定电话" HeaderText="固定电话"></asp:BoundField>
                   <asp:BoundField DataField="顾客分组" HeaderText="顾客分组"></asp:BoundField>
                   <asp:BoundField DataField="备注" HeaderText="备注"></asp:BoundField>
              </Columns>
            </asp:GridView>
    </div>
    </form>
</body>
</html>
